package co.edu.unal.satacredito.database.administration.ejb;

import java.util.List;
import javax.ejb.Local;
import co.edu.unal.satacredito.database.administration.exceptions.DAOException;
import co.edu.unal.satacredito.database.entity.Brand;

@Local
public interface BrandDaoEJBLocal {
	public void createBrand(Brand brand) throws DAOException;
	
	public void editBrand(String id, Brand brand) throws DAOException;
	
	public void deleteBrand(String id) throws DAOException;
	
	public List<Brand> findAllBrands() throws DAOException;
	
	public Brand findBrandById(String id) throws DAOException;
	
	public Brand findByBrand(String nameBrand) throws DAOException;
	 
}
